Cut a middle man by listening to dconf settings directly, and stop relying
on XSettings for it.
https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/317
const Clutter = imports.gi.Clutter;
const GLib = imports.gi.GLib;
-const Gtk = imports.gi.Gtk;
const Mainloop = imports.mainloop;
const Shell = imports.gi.Shell;
const St = imports.gi.St;
}
}
- if (!Gtk.Settings.get_default().gtk_enable_animations) {
+ if (!St.Settings.get().enable_animations) {
tweeningParameters['time'] = 0.000001;
tweeningParameters['delay'] = 0.000001;
}